package com.gmail.yesguxun.util;

import android.util.Log;

public class LogXAndroidImpl implements LogX{
    private boolean mEnableLog = false;
    public void info(String tag, String message)
    {
       if(mEnableLog)
         Log.i(tag, message);    
    }
    
    public void error(String tag, String message)
    {
        if(mEnableLog)
          Log.e(tag, message);
    }
    
    public void debug(String tag, String message)
    {
        if(mEnableLog)
          Log.d(tag, message);
    }
    
    public void debug(String message)
    {
        if(mEnableLog)
    	  debug("tumblr", message);
    }
}
